USING THE CONTROL WITH VC++

The example project in this directory is given to show the use of the control 
with VC++. You need MS VC++ 6.0 to open the project.

To regenerate the correct header file for the interface of the control use 
OleView (from the tools folder of MS Visual Studio). When compiling the idl 
with MIDL, if you get the collowing error
error MIDL2113 : string constant exceeds limit of 255 characters
just edit the IDL file and shorten the method description at the line that 
caused the error to avoid the error.

The main caveat is that the control has only a IDispatch interface. This is 
really useful to use the control with late binding mechanism with VB or 
other scripting languages, but makes it a bit more difficult to use the control 
from VC++. You need to find the id of the method to call it using the Invoke 
method.

Anothe caveat: in the IDL file you'll need to substitute the dash ("-") with 
underscore ("_") in the name because otherwise MIDL will complain.